import fly from '../../utils/fly.js'
/**
 * 查询 累计收益/即将到账/已提现
 */
export function getProfitList(params) {
	return fly.get({
		url: `/applet/member/profit/MemberProfitList`,
		needToken: true,
		params:params
	})
}
/**
 * 查询 金额累计
 */
export function getProfitSumMoney(params) {
	return fly.get({
		url: `/applet/member/profit/sumMoney`,
		needToken: true,
		params:params
	})
}
/**
 * 提现
 */
export function withdrawal(params) {
	return fly.request({
		url: `/applet/member/profit`,
		needToken: true,
		params:params,
		method:'POST'
	})
}
